﻿<UserControl xmlns:my3="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit"  xmlns:my2="clr-namespace:System.Windows.Controls.Theming;assembly=System.Windows.Controls.Theming.BureauBlue"  xmlns:my1="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"  
             xmlns:my="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.Input"  x:Class="OpenLigaDB.DataBrowser.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
             Loaded="UserControl_Loaded"
    d:DesignHeight="514" d:DesignWidth="948">
    <my2:BureauBlueTheme>

        <Grid x:Name="LayoutRoot">
            <!--<Grid.Background>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="#FF9CB6DE" Offset="0"/>
                    <GradientStop Color="#FF9CB6DE" Offset="1"/>
                    <GradientStop Color="#FFCEDBEE" Offset="0.549"/>
                </LinearGradientBrush>
            </Grid.Background>-->
            <my1:TabControl Margin="8">
                <!--<my1:TabControl.Background>
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="White" Offset="0"/>
                        <GradientStop Color="#FFFFEBC6" Offset="1"/>
                    </LinearGradientBrush>
                </my1:TabControl.Background>-->
                <!--<my1:TabItem Header="Sportarten" Visibility="Visible">
                    <Grid/>
                </my1:TabItem>-->
                <my1:TabItem Header="Spiele">
                    <StackPanel>

                        <StackPanel Orientation="Horizontal">
                            <my:Label Height="28" HorizontalAlignment="Left" Margin="12,12,0,0" Name="label1" Content="Liga wählen:" VerticalAlignment="Top" FontFamily="Verdana" FontWeight="Bold" />
                            <ComboBox Height="23" HorizontalAlignment="Left" DisplayMemberPath="leagueName" Margin="8,8,0,0" Name="cbxLeagues" VerticalAlignment="Top" SelectionChanged="cbxLeagues_SelectionChanged" />
                        </StackPanel>

                        <my3:WrapPanel x:Name="wrpMatches" Margin="5,5,5,5" />
                        <my:Label HorizontalAlignment="Left" Margin="12,12,0,0" Name="lblState" />
                        <my:Label HorizontalAlignment="Left" Margin="12,5,12,0" Foreground="#B46F9DAD" Name="lblAppState" />

                    </StackPanel>
                </my1:TabItem>

            </my1:TabControl>



        </Grid>
    </my2:BureauBlueTheme>
</UserControl>
